package com.car.loan.project.xr.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.car.loan.project.xr.util.bo.business.modify.ModifyIgnore;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 紧急联系人对象 xr_loan_contact
 *
 * @author ruoyi
 * @date 2019-11-03
 */
@TableName("xr_loan_contact")
@Data
@Accessors(chain = true)
public class LoanContact {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long loanId;

    @ModifyIgnore
    public Long getId() {
        return id;
    }

    @ModifyIgnore
    public Long getLoanId() {
        return loanId;
    }

    /**
     * 姓名
     */
    @ApiModelProperty("姓名")
    private String name;

    /**
     * 手机号码
     */
    @ApiModelProperty("手机号码")
    private String mobile;

    /**
     * 关系  父母/子女/兄弟/姐妹/亲戚/朋友
     */
    @ApiModelProperty("关系")
    private String relationship;


}
